<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>课程管理</title>
  <link rel="stylesheet" href="../static/layui/css/layui.css">
<style>
    body{margin: 30px;}
</style>
</head>
<body>
	<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
  <legend>讲师管理</legend>
</fieldset>
 
<div class="layui-form">
  <table class="layui-table">
    <colgroup>
      <col width="150">
      <col width="150">
      <col width="150">
      <col width="200">
      <col>
    </colgroup>
    <thead>
      <tr>
        <th>讲师姓名</th>
        <th>讲师指派</th>
      </tr> 
    </thead>
    <tbody>
      <tr>
        <td>小明</td>
        <td>  
        	<a href="javascript:sent()" class="layui-btn layui-btn-primary layui-btn-xs" >指派</a>
 		</td>
      </tr>
      <tr>
        <td>小张</td>
        <td>  
        	<a href="javascript:sent()" class="layui-btn layui-btn-primary layui-btn-xs" >指派</a>
 		</td>
      </tr>
    </tbody>
  </table>
</div>

	
<script src="../static/layui/layui.js"></script>
<script>
//JavaScript代码区域
layui.use(['laypage','table'], function(){
  var table = layui.table
  ,laypage = layui.laypage;
});

function sent(){
	layer.msg('操作成功');
}



</script>	
</body>
</html>